@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './reset.css';
@import './sidebar.scss';
body {
  height: 100%;
  color: #575757;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

.fl {
  float: left;
}
.fr {
  float: right;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
  }
}

.text-primary,
.primary-color {
  color: $primary-color;
}
.text-danger,
.danger-color {
  color: $danger-color;
}

.text-right {
  text-align: right;
}
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

/* image
---------------------------*/
// 关闭按钮不明显问题
body .el-image-viewer__close {
  position: absolute;
  top: -45px;
  right: -45px;
  width: 90px;
  height: 90px;
  cursor: pointer;
  border-radius: 50%;
  background-color: #525458;
  display: block;
  i {
    color: #fff;
    font-size: 23px;
    font-weight: 100;
    position: absolute;
    bottom: 14px;
    left: 16px;
    &:before {
      content: '\e6db';
    }
  }
}
